import service from '../utils/request'

//Address___________________________________________________5

//地址列表
export function address_list(payload){
    return service.get('/api/address/list',{params:payload})
}
//添加地址
export function address_add(obj={}){
    return service.post('/api/address/add',obj)
}
//查询默认地址
export function defaultAddress(obj={}){
    return service.post('/api/address/defaultAddress',obj)
}
//删除地址
export function address_delete(obj={}){
    return service.post('api/address/delete',obj)
}
//更新地址
export function address_update(obj={}){
    return service.post('api/address/update',obj)
}